import { httpGet, httpPost } from '@/http'
import { services } from '@/config'

export const getSessions = () => httpGet(`${services.commonService}im-session/my-sessions`)

export const hideSession = sessionId => httpPost(`${services.commonService}im-session/hideSession`, { sessionId }, true)
